package com.laboratory.report.lab02.lab0202;

/**
 * 游戏类
 */
public class Game {

    public static void main(String[] args) {
        Hero libai = new HeroLibai("1", 100, 5);
        Hero bailishouyue = new HeroBailishouyue("2", 90, 5);
        Hero diaochan = new Herodiaochan("3", 80, 5);
        Hero zhangfei = new HeroZhangfei("4", 70, 5);

        libai.skill(bailishouyue);
        bailishouyue.skill(diaochan);
        diaochan.skill(zhangfei);
        zhangfei.skill(libai);
    }
}
